<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title; ?> - <?php echo $sitename; ?></title>
<style>
body{ margin:0; padding:0; font-family:Verdana, Arial, Helvetica, sans-serif; background:#9AE4E8;}
h2,ul,li{ margin:0; padding:0;}
li{ list-style:none;}
h2{ font-size:14px; padding:10px 0;}
a{ color:#2397D2;}
img{border:none;}
.clear{ clear:both;}
.doc{ width:760px; margin:0 auto; overflow:hidden;}
.header{}
.menu{font-weight:bold;}
.cons{  background:#FFF; min-height:200px;overflow:hidden;}
.left_menu{ width:150px; float:left;}
.list{ padding:10px;}
.list ul{}
.list ul li{ font-size:14px; height:25px; line-height:25px;}
.content{ width:600px; float:right;}
.view{ padding:10px; line-height:25px; font-size:14px;}
.footer{ padding:10px; text-align:center; font-size:12px; color:#2397D2;}
</style>
</head>

<body>
<div class="doc">
<div class="header">
<a href="./"><img src="view/images/logo.gif" /></a>
<div class="menu">
<a href="index.php">首页</a> 
<?php foreach($cmsCates as $key=>$cmsCate){ ?>
<a href="index.php?action=list&id=<?php echo $cmsCate['id']; ?>"><?php echo $cmsCate['cname']; ?></a> 
<?php } ?>
</div>
</div>
<div class="cons">
<div class="left_menu">
<div class="list">
<ul>
<?php foreach($cmss as $key=>$cms){ ?>
<li><a href="index.php?action=view&cid=<?php echo $cateid; ?>&id=<?php echo $cms['id']; ?>"><?php echo $cms['title'];?></a></li>
<?php } ?>
</ul>
</div>
</div>
<div class="content">
<h2><?php echo $cmsData['title']; ?></h2>
<div class="view"><?php echo $cmsData['content']; ?></div>
</div>
</div>
<div class="clear"></div>
<div class="footer">Copyrgiht (C) 2009-2010 <?php echo $sitename; ?></div>
</div>
<div style="display:none;"><?php echo $sitecount; ?></div>
</body>
</html>
